package com.travel.entity;
/**
 * 	用户实体类
 * @author zengbochao
 *
 */
public class User {
	private Integer userId;		//用户编号
	private String userName;	//用户名称
	private String userPassword;//用户密码
	private Integer userSex;	//用户性别1:男生0:女生
	private String userBirth;	//用户出生日期
	private String userAddress;	//用户地址
	private String userPhone;	//用户联系方式
	private String userPicture;	//用户头像
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserPassword() {
		return userPassword;
	}
	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}
	public Integer getUserSex() {
		return userSex;
	}
	public void setUserSex(Integer userSex) {
		this.userSex = userSex;
	}
	public String getUserBirth() {
		return userBirth;
	}
	public void setUserBirth(String userBirth) {
		this.userBirth = userBirth;
	}
	public String getUserAddress() {
		return userAddress;
	}
	public void setUserAddress(String userAddress) {
		this.userAddress = userAddress;
	}
	public String getUserPhone() {
		return userPhone;
	}
	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}
	public String getUserPicture() {
		return userPicture;
	}
	public void setUserPicture(String userPicture) {
		this.userPicture = userPicture;
	}
	public User() {
		super();
		// TODO Auto-generated constructor stub
	}
	public User(Integer userId, String userName, String userPassword, Integer userSex, String userBirth,
			String userAddress, String userPhone, String userPicture) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.userPassword = userPassword;
		this.userSex = userSex;
		this.userBirth = userBirth;
		this.userAddress = userAddress;
		this.userPhone = userPhone;
		this.userPicture = userPicture;
	}
	
	@Override
	public String toString() {
		return "User [userId=" + userId + ", userName=" + userName + ", userPassword=" + userPassword + ", userSex="
				+ userSex + ", userBirth=" + userBirth + ", userAddress=" + userAddress + ", userPhone=" + userPhone
				+ ", userPicture=" + userPicture + "]";
	}
	
	
}
